<!-- Fixed navbar -->
<div class="navbar navbar-inverse navbar-fixed-top headroom" >
	<div class="container">
		<div class="navbar-header">
			<!-- Button for smallest screens -->
			<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
			<a class="navbar-brand" href="${ctx}/index"><!--<img src="assets/images/logo.png" alt="Progressus HTML5 template">-->Share Advance</a>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav pull-right">
				<li class="active"><a href="${ctx}/index">首页</a></li>
				<li><a href="${ctx}/about" >关于</a></li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">更多功能 <b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li class="dropdown-submenu">
							<a href="${ctx}/article/getArticlesList" >文 章</a>
						    <ul class="dropdown-menu" role="menu">
				    			<li><a tabindex="-1" href="${ctx}/article/articlesList" >文章列表</a></li>
								<li><a tabindex="-1" href="${ctx}/article/editArticle" >写文章</a></li>
						    </ul>
					    </li>
						<li><a href="sidebar-right.html">日 志</a></li>
						<li><a href="sidebar-right.html">相册</a></li>
					</ul>
				</li>
				<li><a href="${ctx}/contact" >联系我们</a></li>
				<li>
					<#if signin == false>
						<a href="${ctx}/login" >登录</a>|
					<#else>
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">${username}<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="${ctx}/account/profile">个人中心</a></li>
							<li><a href="${ctx}/logout">退出</a></li>
						</ul>
					</#if>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</div> <!-- /.navbar -->